package br.com.ordersys.framework.restlayer;

import java.util.List;

public class JSONServiceEnvelop implements IServiceEnvelop {
	private int status;
	private String errorMessage;

	private IResponseBody body;

	private List<String> warnings;

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public IResponseBody getBody() {
		return body;
	}

	public void setBody(IResponseBody body) {
		this.body = body;
	}

	@Override
	public void setWarnings(List<String> l) {
		warnings = l;
	}

	public List<String> getWarnings() {
		return warnings;
	}

	@Override
	public void setErrorMessage(String s) {
		errorMessage = s;
	}

	public String getErrorMessage() {
		return errorMessage;
	}
}
